package com.coding.pojo;

import java.io.Serializable;
import java.util.Objects;

/**
 * wrong
 * @author 
 */
public class Wrong implements Serializable {
    private Integer user_id;

    private Integer source_id;

    private String wrong_kind;

    private String wrong_time;

    private String wrong_tag;

    private String wrong_more1;

    private String wrong_more2;

    private Poem poem;
    private OssImages ossImages;

    public OssImages getOssImages() {
        return ossImages;
    }

    public void setOssImages(OssImages ossImages) {
        this.ossImages = ossImages;
    }

    public Poem getPoem() {
        return poem;
    }

    public void setPoem(Poem poem) {
        this.poem = poem;
    }

    private static final long serialVersionUID = 1L;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getSource_id() {
        return source_id;
    }

    public void setSource_id(Integer source_id) {
        this.source_id = source_id;
    }

    public String getWrong_kind() {
        return wrong_kind;
    }

    public void setWrong_kind(String wrong_kind) {
        this.wrong_kind = wrong_kind;
    }

    public String getWrong_time() {
        return wrong_time;
    }

    public void setWrong_time(String wrong_time) {
        this.wrong_time = wrong_time;
    }

    public String getWrong_tag() {
        return wrong_tag;
    }

    public void setWrong_tag(String wrong_tag) {
        this.wrong_tag = wrong_tag;
    }

    public String getWrong_more1() {
        return wrong_more1;
    }

    public void setWrong_more1(String wrong_more1) {
        this.wrong_more1 = wrong_more1;
    }

    public String getWrong_more2() {
        return wrong_more2;
    }

    public void setWrong_more2(String wrong_more2) {
        this.wrong_more2 = wrong_more2;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Wrong wrong = (Wrong) o;
        return Objects.equals(user_id, wrong.user_id) &&
                Objects.equals(source_id, wrong.source_id) &&
                Objects.equals(wrong_kind, wrong.wrong_kind) &&
                Objects.equals(wrong_time, wrong.wrong_time) &&
                Objects.equals(wrong_tag, wrong.wrong_tag) &&
                Objects.equals(wrong_more1, wrong.wrong_more1) &&
                Objects.equals(wrong_more2, wrong.wrong_more2) &&
                Objects.equals(poem, wrong.poem);
    }

    @Override
    public int hashCode() {
        return Objects.hash(user_id, source_id, wrong_kind, wrong_time, wrong_tag, wrong_more1, wrong_more2, poem);
    }

    @Override
    public String toString() {
        return "Wrong{" +
                "user_id=" + user_id +
                ", source_id=" + source_id +
                ", wrong_kind='" + wrong_kind + '\'' +
                ", wrong_time=" + wrong_time +
                ", wrong_tag='" + wrong_tag + '\'' +
                ", wrong_more1='" + wrong_more1 + '\'' +
                ", wrong_more2='" + wrong_more2 + '\'' +
                ", poem=" + poem +
                '}';
    }
}